import Count from '../components/Count'
import { connect } from 'react-redux'

function mapDispatch(dispatch) {
  return {
    add() {
      dispatch({ type: 'inc' })
    },
  }
}
export default connect((state) => ({ c: state.zs.count }), mapDispatch)(Count)
